package com.wxh.bomb.httpserver.server;

import java.util.HashMap;
import java.util.Map;

/**
 * Servlet上下文
 * @className ServletContext
 * @date 2015年12月4日 下午2:53:43
 * @author <a href="mailto:waferslove@sina.com">王星火</a>
 * @version V1.0
 */
public class ServletContext {
	// 为每一个servlet取个别名
	// login -->LoginServlet
	private Map<String, String> servlet;
	// url -->login
	// /logback -->login
	// /login -->login
	private Map<String, String> mapping;

	ServletContext() {
		servlet = new HashMap<String, String>();
		mapping = new HashMap<String, String>();
	}

	public Map<String, String> getServlet() {
		return servlet;
	}

	public void setServlet(Map<String, String> servlet) {
		this.servlet = servlet;
	}

	public Map<String, String> getMapping() {
		return mapping;
	}

	public void setMapping(Map<String, String> mapping) {
		this.mapping = mapping;
	}
}
